package com.lh.common.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;
import com.lh.common.entity.state.STATE;

public enum AfterSaleOrderTypeEnum implements IEnum<String> {
    NONE(STATE.ST0),//无售后
    TK(STATE.ST1),//1：退款
    SH(STATE.ST2);//2：售后

    // 定义私有变量
    private String nCode;

    // 构造函数，枚举类型只能为私有
    private AfterSaleOrderTypeEnum(String _nCode) {
        this.nCode = _nCode;
    }

    @Override
    public String getValue() {
        return nCode;
    }
}
